<?php


namespace app\common\model;


use app\common\BaseModel;
use think\Model;
use app\common\model\OperationLog as operationLogModel;

class Article extends BaseModel {
    protected $pk = 'id';

    public function getCreatedAtAttr($value,$data){
        return date('Y-m-d H:i',$value);

    }
}